<template>
	<view class="page" :style="{ 'min-height': h + 'px', 'padding-top': (mt) + 'px' }">
		<c-nav-bar :title="title"></c-nav-bar>

		<view class="box_image" v-if="type==2">
		</view>
		<view class="box_text" v-else-if="type==3">
			<view class="">
				如有需要，请至线下进行开发票
			</view>
		</view>


	</view>
</template>

<script>
	export default {

		data() {
			return {
				title: '开票攻略',
				h: uni.getSystemInfoSync().windowHeight,
				mt: uni.getSystemInfoSync().statusBarHeight + 44,
				type: 0,

			}
		},
		onLoad(option) {
			console.log(option);
			this.type = option.type
		},

		methods: {

		}

	}
</script>

<style scoped lang="scss">
	.page {
		margin: 0;
		padding: 0;
		box-sizing: border-box;


		.box_image {
			width: 100%;
			// height: 100%;
			height: 3447rpx;
			background-image: url('https://i.ringzle.com/file/20240621/d8d199248c3848c0bcbfb6e0c2831df4.png');
			background-repeat: no-repeat;
			background-size: 100% 100%;
		}

		.box_text {
			box-sizing: border-box;
			width: 100%;
			height: 80vh;
			font-size: 32rpx;
			display: flex;
			justify-content: center;
			align-items: center;

		}


	}
</style>